Test Series - computer fundamental

Test Number 12/95

Q: A group of bits used to represent a symbol is called a ____________
A. byte
B. memory
C. nibble
D. code
Solution: In binary coding, every symbol that appears in data is represented by a group of bits, which are called bytes. Computer codes use binary coding schemes.
Q: BCD uses 6 bits to represent a symbol.
A. True
B. False
C. none
D. 0
Solution: In a Binary Coded Decimal format, 64 characters i.e. 26 different characters can be represented. It is one of the early computer codes.
Q: Which of the following is not a type of computer code?
A. EBCDIC
B. BCD
C. ASCII
D. EDIC
Solution: There is no coding scheme like EDIC. EBCDIC stands for Extended Binary Coded Decimal Interchange Code. BCD stands for Binary Coded Decimal. ASCII stands for American Standard Code for information interchange.
Q: The BCD representation of (34)10 is _______________
A. 6
B. 7
C. 8
D. 5
Solution: BCD numbers are represented as:
34 = (0011 0100)BCD.
Each digit is individually taken and an equivalent standard 4 bit term is written for the respective digit.
Q: Perform BCD addition of (23)BCD + (20)BCD .
A. 00110100
B. 01000011
C. 10011
D. 11100
Solution: To add any two BCD numbers :
Simply perform the addition : 23+20=43.
Then, write the equivalent BCD number = (0100 0011)BCD.
Q: The weights used in Binary coded decimal code are:
A. 4,2,1
B. 8,4,2,1
C. 6,4,2,1
D. 2,1
Solution: BCD is a weighted code and it uses the weights 8,4,2,1 respectively. It is often called the 8421 code. Since, it uses 4 bits for the representation therefore the weights are assigned as : 23 = 8, 22 = 4, 21 = 2, 20 = 1.
Q: Write the decimal equivalent for (110001)BCD.
A. 31
B. 13
C. C1
D. 1C
Solution: To obtain the decimal equivalent :
We start from the rightmost bit and make groups of 4, then write the decimal equivalent accordingly.
0011 0001 = (31)10.
Q: The 9’s complement of 45 is _____________
A. 45
B. 54
C. 64
D. 46
Solution: The 9’s complement of a number is obtained by subtracting each digit from 9. Here, 99-45=54. Therefore, the 9’s complement is 54.
Q: The 10’s complement of 455 is _________
A. 543
B. 544
C. 545
D. 546
Solution: To obtain the 10’s complement, we first obtain the 9’s complement and then add 1 to it.
999-455=544 (9’s)
544+1=545(10’s).
Q: The Excess-3 representation of (0100)BCD is _________
A. 0110
B. 1110
C. 0111
D. 1100
Solution: The excess-3 code is obtained by adding 3 to the BCD code.
Here, 0100+0011=0111.
Also, 4+3=7.

You Have Score    /10